# 开启日志
# export MINDIE_LLM_LOG_TO_STDOUT=1
# export MINDIE_LOG_TO_STDOUT=1

# 设置文件权限及环境变量
source /usr/local/Ascend/atb-models/set_env.sh
rm -rf /usr/local/Ascend/mindie/latest/mindie-service/conf/config.json
cp /data/config.json /usr/local/Ascend/mindie/latest/mindie-service/conf/config.json
chmod 640 /usr/local/Ascend/mindie/latest/mindie-service/conf/config.json

# 启动大模型服务
/usr/local/Ascend/mindie/latest/mindie-service/bin/mindieservice_daemon
